﻿using System;
namespace Athena.ExceptionHandler
{
    public class RpcException : BaseException
    {
        public RpcException(int code, string message) : base(code, message, null)
        {

        }

        public RpcException(AthenaRpcInvokeResultCodeDisplay athenaRpcInvokeResultCodeDisplay, string message) : base(athenaRpcInvokeResultCodeDisplay, message, null)
        {

        }

        public RpcException(Exception innerException) : base(AthenaRpcInvokeResultCodeDisplay.RpcException, innerException)
        {

        }

        public RpcException(string message, Exception innerException) : base(AthenaRpcInvokeResultCodeDisplay.RpcException, message, innerException)
        {

        }
    }
}
